import { Router } from "express";
import userRouter from "./user.js";
import videoRouter from "./video.js";
import chatRouter from "./chat.js";
import searchRouter from "./search.js";

const router = Router();
router.use("/user", userRouter);
router.use("/video", videoRouter);
router.use("/chat", chatRouter);
router.use("/search", searchRouter);

export default router;
